home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_12_04 / saks / lns2.h < prev    next >
C/C++ Source or Header  |  1994-02-09  |  351b  |  26 lines

  1.  
  2. ----------
  3.  
  4. Listing 9 - The Cheshire Cat class definition for lns
  5.  
  6. //
  7. // lns2.h - line number sequence interface
  8. //
  9. #ifndef LNS_H_INCLUDED
  10. #define LNS_H_INCLUDED
  11.  
  12. class lns
  13.     {
  14. public:
  15.     lns(unsigned n);
  16.     ~lns();
  17.     void add(unsigned n);
  18.     void print();
  19. private:
  20.     class details;
  21.     details *dp;
  22.     };
  23.  
  24. #endif
  25.  
  26.